Versions:
bb is a command-line interface by vriesdemichael for Bitbucket Server and Bitbucket Data Center. It lets developers work with a self-hosted Bitbucket instance from the terminal in the way the gh tool works with GitHub. The covered areas are pull requests, repositories, branches, tags, commits, build status and permissions, so the common tasks of daily repository work and administration can be carried out without opening the web interface. Every command can return its result as JSON, which makes the tool suitable for scripts, CI jobs and other automation where output has to be parsed by a program. In addition, the subcommand bb ai mcp serve exposes the functionality to AI agents over the Model Context Protocol, allowing such agents to query and operate on Bitbucket through a defined interface. The tool is explicitly intended for the Data Center and Server products from Atlassian and is not designed for Bitbucket Cloud. It is written in Go and belongs to the category of developer tools and DevOps command-line utilities. Typical use cases include creating and reviewing pull requests from the shell, checking the build status of a commit inside a pipeline, listing or managing branches and tags across repositories, and auditing or adjusting permissions in bulk through scripts. Teams that run Bitbucket on their own infrastructure can use it to standardise recurring workflows. The current release is version 6.1.0.
Tags: